Some changes in model. Read controller work now correctly