angshu | added a directive for logout