Enhanced database performance and added top users tab