edit article form. used slim. added error pages