add form validation to signup component, switch validation event from 'change' to 'blur'