Change $url_segment to 'public'

Line 42 inside the 'model' can not access a private var