Changed WP_CONTENT_URL/PATH to wp_upload_dir and added user_id to the image to be unique