Generate id in menu items
Get provider id from a user id