Added displaying flash messages and user menu