Add explicit login/logout options.
Signed-off-by: Darshit Shah <darnir@gmail.com>