Changed url format and added a redirect after ading an item