modify the admin register controller and view