Refined register.php, started making login.php