Update KC1.js

Single player functionality properly scoped, API made RESTful, changePassword and checkUser functions added