how to build a specific function

hello,
i want to build a website where people will be able to create a very simple profile that consists of image and name only.
and i want anybody to be able to comment on their profile. not only members. just anybody.

how can i do that?