Not possible to login because the query to get user is wrong