Fixing documentations and flash messages