change redirect login to index. (since it include login in index page now)