Refactor: Users: Put add membership in lib
Refactor: Users: Put name sorting into lib