Java verifies that the user exists