login and register templates edited