updated routes with controller for micropost controller