Update register.php

changed the index.php redirect to login.  It's a security thing really.