Added getProfile in demo