I need to make a health declaration system in java and I want it to have restrictions. like when you put invalid username or password, the system wont continue. problem is,