Some more ui changes to reduce flicker on profile page load
changes made to fix ui rendering flicker on login page.