FrontEnd: Replacing submit handler on login to use keypress for chromium compatibility