added functionality that allows for user to submit comments and reload page