Basic login/logout behavior in place.