Added handler for settings page
Trying to access the settings page without logging in kicks user to login page