working on getting register and manage seperated