update config
added login and remove php refresh