Fixing error where Login Dashboard would not display properly. Small refactoring, added more regions for readability and temporary seperations. Removed some dead code