checking against Devices when adding new client to db
added default HistoryController