Fix missing return statement causing users not to be able to connect at all
Fix typo