Redirect user to index view after logging in