format input fields for sign-in&up