php application allow users to upload images and communicate through them