refactered to getconversationsforlocation to return array and added more log statemets for debugging