added autofocus to input field