Upload photo functionality added