fixed a bug with the header login that caused the home page to not load.