login views dynamically change