Add filtering of the user list for the api