modify the add user function