Made forms for devices more robust and added a status string message in the model