test login and ui