Added enter detection on login