added client side js code and working on how user storage will work