add get and set functions for HN user, add local storage