Checking if user is provided