minor adjust on project
add basic login/out function