added basic functionality for location based chat