introduce login states