added required fields and autofocus to contact