Added Ability To Disable Offline Mode

If wanted, offline mode can be disabled by adding the permission
‘allowOffline’ to the permissions method, and setting it to *false*.