added model for cadidates and DB