work on the connection dao file almost finished