Fix error with regular user login