Added returns for any http errors