added the log in users count calc and the chart