private Connection makeConnection(final String userLogin, final String passwordLogin) {
    try {
      Class.forName("oracle.jdbc.driver.OracleDriver");
    } catch (final ClassNotFoundException execption) {
      execption.printStackTrace();
    }
    Connection connection = null;
    try {
      connection = DriverManager.getConnection(
          "jdbc:oracle:thin:@localhost:1521:XE", userLogin,
          passwordLogin);
    } catch (final SQLException exception) {
      exception.printStackTrace();
    }
    try {
      if (connection != null && connection.isClosed()) {
        System.out.println("There is no Connection.");
      } else {
        System.out.println("We have a Connection!");
        this.checkUser(userLogin, passwordLogin, connection);
      }
    } catch (final SQLException e) {
      e.printStackTrace();
    }
    return connection;
  }