example for bank server authentication and api