Clean up code for sign up and sign in forms.