define a locations page and last_created method