Handling sessions

Sessions lasts 24 hours.
If user is logged in,   ../dashboard/ is sent to ../dashboard/menu.php
If user is not logged in attempt to go to another page will redirect to
index
Session stays alive after browser close
Adding comments