added login form with model