trying to fix login homepage bug