added post to routes for preview