switched to using mysql as the db