login: partially implemented; error: invalid input;