added rediretct for emberjs.