Session Variable

implemented a session variable when logging in or creating an account.
also added a logout page.