Doing (error) messages somewhat more centrally

Extracting message handling from sign-up flow, and doing it centrally instead.