Rewrite communication part using RestKit