check whether a user name is equal to the last one