added check for admin on management page