Work if the user don't exists in the database

Alternative of #815