Added base template and login, register inherit from it