Added registration success page however auto send of email to user's email is not working.