Create user function

Implement create user function