fixed logger and repository initialization