fixed redirection and session managment for study voting