fixing cookie (session id issue), now new session id will be generated on login, also cookie will be deleted on logout