Added some validations and device destroy link. Issue with form fields resetting after validation failure next to be overcome.