Added login on enter event on login page