Updated frontend for the new authentication system. Added Login and Logout.