(feat) change routes and fix post 

change routes so it can be tested in the server
Also add data in get request