add basic login logout flow
enhance login/logout process