localStorage functionality starting

Added beginning code to check if localStorage works