Added router for get & post request for goals