add login and register template