added role checking for most of the fiels ine the ADMIN folder