More front-end improvements

- Event handling fixes
- Lexicographic collection sorting (case-insensitive)
- Login event handling for user page