set REMOTE to 1 on login