semi working posts controller :/