Added media service portal sample code