Added userID functionality to uploads