Added cards and posts controller