Code for database connectivity #75