<?php session_start(); unset($_SESSION['pass'],$_SESSION['id'], $_SESSION['prava']); //session_destroy(); header('Location: index.php'); ?>