added posts querying infor from rails server from simple app on open shift