getJSON in db + automatic launch of first view