added working JDBC code to Login test code