Created a messages model and added relations into the user model.