Added hashCode() methods for OfflineUser and Ownable, fixed equals() methods