Added visitor ip retrieval to every page and added creation of database on plugin init