fixed login for votes