rebuild base, header and content template
add registration template
add auth functional