Fixing home page redirect