Logout, redirect and addlink start