set ssl to false to prevent redirect loop
fix email registration error