Added post and success actions