Implemented ability to close events
Fix for remember me if token unauthorized