Updated rest project.

Updated login to deal with new rest result.