Updated readme

Updated the readme with server side call and correct usage of promises.