Started implementing User class and made changes to index.php to make use of it's methods.