Added isEqual method in User