[feat] Implements basic login/logout directive

Implement issue #2