added user registration checks + whitelist keyword