Implement localStorage and hash based user id