moving registration to https