Adding some debugging info for mongo connection issues
fixed space in email input