We're not a homework service and nobody here is going to complete this for you.
You need to start the program and tell us where you get stuck, and giving us detailed information about the problem and any errors thrown.
A basic outline for the program would be as follows:
- Store details in a container of your choice
- Ask user to enter username and password using the Scanner class
- Loop through the container and check user inputs against the valid inputs
- If match if found: login, else: print error.
Come back when you've started it.