made changes in sdk for users and added support for localstorage and parsing date