Login / Logout works

Signed-off-by: tyloo <jbonva@gmail.com>