Added edit route and also fixed some loading issues when creating a new ...

...pet