Changing functions a little bit to replicate a user controller