added profile image uploading functionality