login clears text box on failuer