After login in I want to pull specific data from database and show it into a Jlabel such as name age or other information

This is my login Button code for secure login after registration Now i want to pull other registration data into another jframes jlabel

when i click on Log in button new jFrame come on screen but i cant pull specific data from database to show on jlabel.

please help me on this project

private void btnloginActionPerformed(java.awt.event.ActionEvent evt) {

   Connection conn;
    PreparedStatement ps;

    try {
        conn = (Connection) DriverManager.getConnection("jdbc:mysql://localhost:3306/testing", "root","");
         ps = conn.prepareStatement("SELECT `Email`, `Password` FROM `userinfo` WHERE `Email`= ? AND `Password`= ?");
          ps.setString(2, String.valueOf(txtpassword.getPassword()));
          ResultSet rs = ps.executeQuery();


            new home().setVisible(true);
              JOptionPane.showMessageDialog(this, "Invalid Login Credential");

      } catch (SQLException ex) {
        Logger.getLogger(Login.class.getName()).log(Level.SEVERE, null, ex);