add new user code modified