DataController connected to DialogsController and FriendsController.