Feature/logout 

fixes #12