redirect to agent index if loading some page directly by typing url