Added pre/post filters in controllers