Refactoring handle() method of RouteController object for better access check and to cover all cases.