added functionality to comments and put recent comment on index page