added database backup and register system