added autofocus to the input box