Added view post functionality and amended viewProfile with the ability to link to posts