added login form in template