Connecting to user and secrets tables