adding check for firstname and lastname