login and ui fix