Added machine name and token fields to log_in