fixed form validation issues
Merge pull request #9 from JulianJaffe/master

Fixed logout, added decorators
More logout fix