added id, method and action for form