Tristan added basic login/logout functionality, but need to handle error cases and make sure that it carries from page to page