change create user function