add inject $location in loginctrl
redirects to vote