Updated functions, now renders full posts when clicked