integration: function to create an user