Added file upload functionality
Added profile selection functionality