added the profanity filter and flash messages