test(*): update unit test.

configuration and remove not necessary test.
refactor(user): add local storage support.

granted the access, the profile information storage in local storage.