Fix the register

TODO not same name
Add user_lib

need to finish the fighting  stuff