Trying to implement login feature to refresh access tokens