Added directory method call for admin controller