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

Signed-off-by: Akila Perera <ravihansa3000@gmail.com>