properly setup remote_user