Can't get system messages to be displayed to user

Hello,

I'm trying to have error messages such as "Username already existing", "Passwords mismatch" etc. displayed to the user. First I thought ELGG didn't handle this and then I tried directy on elgg itself and could get an error message. So I know it's possible, but I have no idea how to activate it or what DOM is necessary for it to work ! Anyone knows ?