moved view to admin and corrected controller