Adding posts controller