modified server to insert new expences