sign out functionality, closes #37, #38