Fix create user and add delete user api

Fix missing required and optionals parameters in create_user api.
Add the delete_user api.