When you need to be logged in, show a message saying it instead of just getting a 500 error
Fixes i forgot to commit
Add example config
Add fixes by @Hikkyu
merge from @datagutt