Edited some classes concerning the db and authenticator for use with
intellicloud account system (non-working)