introduced logout container
refactored login dialog and adjusted specs