login now redirect to index