Adds user to localStorage