added user module and changed upgrade module