Update UserController.php

Fixes #35