log in page can trigger log in through pressing enter