change posts controller and routes
add images