Remove the double error display
remove a var_dump (oops!)
add force https capability.