new login class has constructor that throws SQLException