done login and register: refresh self page.