Welcome to JAVA 101! We must get this question like 5 times a day on this forum.

Basically, Strings (which is what user and pass are) should be compared using one of the String comparing methods....