completed login & register templates