Fix the getUser method.