Attempt to implement login. There is a problem with the access token not being stored in localStorage after granting permission.