adding authorize url
adding noconnection fallback