Fixes #13 login from vote will return to homepage with the vote proccess, login from login panel will return to homepage