Added function to get mysqli object to enable use of database outside of CryptUser.