add login form and register template