Implemented Repositories in Controllers