added code if no user found in data