ticket:5 made redirect when login made from index page to edit page