Adds groups route and foreign keys for groups and users