added subscription and plans model