Added logout button directive.