Check whether user_data is None in handlebars helper