Changed almost all error messaging to connect-flash