loging in now displays error message when nonnumiric characters are entered