add new getId() fuction to extract id from admin service url