Resolved circular dependency, added feature to get a user's groups