Make sure the user has logged in before continue with integration

Fix GH-48
Use `unless` instead of `if ! something`