Hooked registration and login up