added db functionality for fetch by hashtag