added first picture upload functionality