Only connect if there's a user