fix bugs with authentication process, groups, and lookup