update references, added new method to determine if admin or nor