login working with different home page