Only allow accessing stats and account settings when logged in