Added func to incremeent login_count for every log in