add method to ClientController and DeviceController