Cleanup
minor refactoring and logout
Changed buildingIds to work with a fresh db setup
Fixed bug when the no building for id is found
Minor GUI improvements