loading database + register database ok