added insert query for review and made post handler