Move findById function from users module to friends module
Add a paginate middleware, it will check the presence of from and size parameters when the function use pagination
friends: add pagination when retrieving the list of pending requests
friends: add pagination when retrieving the list of active friends
error : refactor the way to handle errors
firends: do not retrieve active friends by default
Fix getIdListFromObjectList method
Fix a typo
users: return useful numbers when logging in
user: expose a function to retrieve the latest user data