This is not the solution to the problem. That's editing the template. It's the PHP code that needs editing to not automatically give access to anyone who signs up.