Initial modifications to create the admin functions