moved check_admin method to application controller