added login & voting support