code for adding firstname and lastname