Created database connection in AuthenticationManager