messages model added
parse params and confirm_url