routing views and new API to fetch groups of a user