Fixed sent variable from UI (was name -> should be firstName) and altered travis config. Also changed integer to an atomicinteger