updated logic for new admin users, takes into account specialty