Completed basic login and logout page