Logging in works. Authentication corrected