route template/get-all was edited (now it checkes if logged user has rights to get templates)