Updated to use Client.js

now requires a one time approval from the user and then it has permanent
read write access to that user. This approval is in the form of a popup.