added user profiles and only show delete button for logged in user posts

Yes.