equals and hash code method for TweetDao and TwitterAccountDao