updated client to handle authentication and updated readme