Login now comes from the database rather then from a PHP array