More attempts at getting the authentication system to work properly,
but login information is lost every time page is reset.