clean up REST api a bit, auto update customer picture on add new event
compiler errors