Add check to ensure is_signed_in to reduce errors