Why is the title of my registration form different after submitting