userid registration & login/logout