added admin status to edit page