Fixed some bugs in the index.php and createaccount.php page
Final bugfixes