creating create route on posts controller