added readonly option to input field