fix bug in userController
Merge pull request #39 from KiaFathi/features/server

fix bug in userController