Added login forms and login/logout functionality