template with user mode + registration and forgot password