added friend, form validation