working on oauth to register