added post route
deleted get route
minor bug in statements