Functions v.13

added in findPost, getComment
closed connection in all current functions