switched to html form and added validation on "new reddit" function