Broken code do not touch
Changed database connection method from mysqli to PDO.
Followed http://www.wikihow.com/Create-a-Secure-Login-Script-in-PHP-and-MySQL to make a secure login system.

db_connect.php - opens connection to database taking the configurations from psl-config.php
functions.php - functions to perform login and other login related things.
logout.php - deletes session cookies
process_login.php - processes login information
register.inc.php - validates info provided in registration
forms.js - performs hashing
sha512.js - hashing algorithm
Setup updated to include password fields in Users table

error.php - error page if registration/login fails
index.php - login page
protected_page.php - can only access if logged in
register.php - register page
register_success.php - successful registration
Merge branch 'master' into Charlie

Conflicts:
	main/createnewuser.php
	main/index.html
Adapted index.php to work with Michele's HTML and CSS.