Add joining of multiple accounts

create PR on base of #317
It contains only the server changes.

I added the ability to join multiple accounts.
The saveOrUpdateUser function creates a new user or joins the new data to the existing user.
This Pull Request has been tested with all implemented providers (Twitter, Facebook, GitHub, Google, Linkedin).