Added strong parameters to posts controller