Initial login/logout process

Signed-off-by: Darren Ehlers <me@darrenehlers.com>