added config file for db details and secret key