I am developing  this code in Java for as part of myproject for a Student Information System (SIS). I would like toinclude an Admin log in, with username and password to allow allowadmin staff to enter their log in details and access the SIS. Couldyou please help me.?

import java.util.*;

public class Student {
   private String id;
   private String name;
private int age;
private String email;
private String course;
private String year;
private String section;

/** Constructs a Student object with the given values */
public Student(String id, String name, int age, String email,String course, String year, String section){
   this.id = id;
this.name = name;
this.age = age;
this.email = email;
this.course = course;
this.year = year;
this.section = section;
}
/** Returns the ID of this Student */
public String getid(){
   return id;
}

/** Returns the name of this Student */
public String getName(){
return name;
}

/** Returns the age of this Student */
public int getAge(){
return age;
}
/** Returns the email of this student */
public String getEmail(){
   return email;
}

/** Returns the course of this Student */
public String getCourse(){
return course;
}

/** Returns the year of this Student */
public String getYear(){
return year;
}

/** Returns the section of this Student */
public String getSection(){
return section;
}

public static void main(String[] args) {
   int x = 0;
   int menuChoice = -1;
   Student[] students = new Student[30]; //As a note,hard-coding this ’30’ is a bad idea.
   //Probably should be static, final const inclass.
   Scanner input = new Scanner (System.in);
   do{
   System.out.println(“tttStudent Record Menu”);
   System.out.println(“nPlease choose one of thefolllowing options:”);
   System.out.println(“n1. Add Studentn2. ViewStudentsn3. Search Studentn4. Exit”);
   System.out.println(“Enter a choice: “);
   menuChoice = input.nextInt();
     
   if (menuChoice==1){
   if(x < 30) { //Able to add new student.
       System.out.println(“StudentID:”);
       String id = input.next();
   System.out.println(“Full name:”);
   String name = input.next(); //This was your error -should be next like the others,
   //Not nextLine()
   System.out.println(“Age:”);
   int age = input.nextInt();
   System.out.println(“email”);
   String email = input.next();
   System.out.println(“Course:”);
   String course = input.next();
   System.out.println(“Year:”);
   String year = input.next();
   System.out.println(“Section:”);
   String section = input.next();
     
   //Create the new student using the given inputs
   Student s = new Student(id, name, age, email, course,year, section);
     
   //Place in array
   students[x] = s;
     
   //Increment x for next student placement
   x++;
   } else { //Not able to add new student
   System.out.println(“Can’t add new student, studentsfull”);
   }
   }
   else if (menuChoice==2) {
   for (int i=0; i<x; i++) {
   Student s = students[i];
   System.out.println(s.getid() + ” “+s.getName() + ” “+s.getAge() + ” ” +s.getEmail() + ” “+s.getCourse()
   + ” “+ s.getYear() + ” ” + s.getSection());
   }
   }
   else if(menuChoice < 1 || menuChoice > 4){
   System.out.println(“Unrecognized menu choice; pleasere-enter”);
   }
   } while (menuChoice != 4);
     
   //Do close your scanners when you’re done with them toavoid a resource leak.
   //This is closing System.in (which is bad), but you’recode is terminating anyway
   //so its ok
   input.close();
}
}