Started basic work on register.php and fized permissions on top.php