Bugfix

Fixed collation bug
Fixed header bug in register.php