added delete, post, put and get route