Updated UserController file