Check existing login

fix #29