connection in user controller