create logout link for manage template