Added a few stored procedures, modified index.php to reduce repeat code
in regards to "remember me"