Created functionality for users to leave comments on posts