More or less finalized the login, input fields only need a cursor now.