Update UserController.php

if already logged in return error.