made further fixes, logging in and out makes more sense, log in page redirects home after successful login, blah blah blah