fix bug: google map only loaded on reg page, end registration does not redirect