Adds submitButtonValue check

This addresses a situation where the registration form and login form are exactly the same.