added patient form and list functionality