user controller fixes