Switch over to MySQLi, from MySQL

Full change from the deprecated MySQL functions, over to an OO MySQLi
version.
Also introduced a new table titled "user_profile" which will contain
extra information about each user, currently only stores "Last_Sign_In"
date/time.