added import State to Controller and RepositoryDB