updated database settings and enabled debug mode