finished adding code for CHECKADMIN