adds callback to fix url if http / https omitted during user entry for redirect to work