events creation fixed. log out fixed.