Fixed bugs in login. Added Votes