added db calls for PHOTOHASHTAG table