work in progress on register / login