Edits to login and added index page

Added session_start to login.php lol. Added an index page which
currently just checks if a user is logged in and echoes their name if
they are or gives links to log in otherwise.