Completed the connection to the qa database