got functionallity for 4square api and backend