rest method create user: working