delete and create routes functional