Added getFriends and getTweets methods in User class