update header, login, register