Reformatted the output of the sql data. Setup function for where we will sanitize data from the post before it hits the sql