added login form to base template