Bugfixes

Fixed calculateDistance Bug on Register
Included validate.js in header
Fixed Header already sent bug in register.php