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

fix bug in userController