add login window and send on submit