made another repository- MessagesRepository (incomplete,work in
progress)