getting json return finally
and now the routes are working as i imagined