implement functions to check admin status