BugFix: Infinite loop could happen with case matching
Improve login pages
Add logout action