[UPDATE] form register + flash error + layout