Fix event pages when user is not logged in
Closes no issue
Previous behaviour
Steps to reproduce:
- Create an event
- Go to the event without being logged in
- Crash
New behaviour
Steps to validate that it works:
- Create an event
- Go to the event without being logged in
- No crash