Fixed some things in the user controller.