use local storage to keep a hold of user id and token