Fixed a logstanding login bug...
Nick dup on logout is also fixed...
Fixed a bug in the mysql tables.6up7.sql.