Update UserController.php

Typo in line 77 caused error notification even on success.
Merge pull request #73 from TechSolX/patch-1

Update UserController.php