Added a feature to logSys, so that cookies will be set if the password given to login is null