fixed bug where an empty folder remained in application when we return from Login