modifying jaggery console app due to the changes in back-end rest api