rants are created using AJAX and errors appear when rant for is filled out incorrectly