added votes
added proper redirection after auth, added comments