Added logic to picture upload
Added logic to picture upload