Update UserController.php

Typo in line 77 caused error notification even on success.