working email and picture upload