updated routes

Signed-off-by: Ninjaparade <ninja@ninjaparade.ca>
updated JS
updated methods in posts repo
added front end controller methods