Minor Changes . Made Connection with DB