ad create_user method to the api