fixed issue with paypal success and added checkbox and migration for smartmeter auth