Direct access of ~/addpoll/ will redirect to login page.