Finished Polls, Bugfixes

Finished polls and fixed logout bug where the user was not able to log
out due to already set headers
I'm going to revert this.
Revert "I'm going to revert this."

This reverts commit cb4d47fe06e8c27cecb6187e8da874a7800fa5af.