Check api.disconnecting in friendly.logged_in() method
Merge pull request #14 from VegarS/master

Test api.disconnecting in friendly.logged_in method