[feat] Implements basic login/logout directive