Refactoring and Scope message

- Flash message are added to the locals automatically and regarding
  their scope (request or session) the message is removed from the
  session.