changed form type (based on model), updated view redirection to index