local registration & login complete