Get public url method and stuff