Hooked dialogue boxes into user login / registration