change user from undefined