refactoring backoffice menu