updated database config
added public folder