Adding debug to user controller.