Update register.php

changed the index.php redirect to login.  It's a security thing really.
Merge pull request #1 from scotchkorean27/patch-1

Update register.php