admin status function working