added spam protection to register form