try to resolve issue with saving nearest beacon logout
Merge branch 'similarity'