Fixed register.php - now adds new users correctly