Logout fix, upload login required fix.