include url attribute in the createpony function in the ponyindex view