Built login and registration validation. Working on linking to main.php