Add constants with server domain and base URLs

	modified:   main.php
Fully working resetting password

	modified:   User.php
	modified:   api/reset.php
	modified:   api/users/put.php