creating add controller