created admin controller