db and user_utils: Changes in db and user utils

* Adds database link file.

* Adds database test on connection, object creation and use.

* Removes database connection from db_utils.

* db_utils now doesn't connect alone in database

* user_utils login has been created for users