modified a line to fix the login problem wherein the table prefix is not empty string