fixed bug in format_graph_url causing graph methods to not work, added a logging functionality that logs each operation (off by default)