added observer

I have added the observer in place of the after_commit method in the shout model (messed up the git comment though...)