change login to use next/done on keyboard inputs