my code so far for the voter side after login