update link layout and posts controller
add better errors gem