implemented voting and fixed FB login