added the login functionality and user can now cast it's vote