Validating the user through username and password through servlet