added connect-flash to bypass passport flash message issue