how can i make a register function
how can i make a register function