users.php login function has basic functionality.
Started work on login.php.