check if user registered, then set data