Removed reqres namespace and added error handling