removed AJAX from _form.html.erb and added validation to tweets model