rename client to public
adding logger