added grant access function to AdminController