send redirect when user accesses /rest/