Save user id to local file