update configuration.properties for test
clean some not-clear code
fixbug: user must be auto logged in after register use oauth