Fixed bugs in user picker and notification public route

Merge this after having merged the #505 pull request made by Maxime