using RestAdapter to connect to Back-end