fixed problem with generating uuid
parse localStorage token with JSON, changed param to access_token
return just the access_token from localStorage, check if token is
expired