source code for the web api based credential service to deliver mobile credential app