merge actions 'create:user' and 'authenticate:user'

If a document with the given user id doesn't exist, create one.
Else, get existing one.