Update AdminController.php

fixed profile validation bug