Stop server from crashing when not logged in