working on register functionality