updated main login form