fix flash messages that have other categories

By default flash messages have category "message", but we like to
customize them, to mean "error" or "success". So let's set two classes
on the message element to make things easier for the front-end.
change flow of pages for creating ldap account