Fixes issue with sign_in not being defined