Fix updating user pass + logout function added