added login to scripts, will finish re-writing sign_in.php in a bit