*reducing logging
*making query GMT timezone aware
*sorting table1 based on likes