made basic post and get routing work