integrated first version of chat; added hashPrefix to location provider