removed duplicate load top, fixed login flow