Added AccountHandler::getRepository() and using it in other methods