Adding success url handler